import React, {Attributes, FC} from 'react'
import './Box.scss'

const Box: FC<{
  shodow?: string,
  width?: string,
  height?: string,
  style?: Attributes
}> = (props) => {
  let {
    children,
    shodow,
    width = '100%',
    height = '100%',
    style
  } = props

  return (
    <div id={'box'} className={shodow} style={{
      width,
      height,
      ...style
    }}>
      {children}
    </div>
  )
}

export default Box